import java.util.Arrays;

public class Test {
    public static void main(String[] args) {
        String s1 = "aaaaaaaaa";
        String s2 = s1;
        s2 = "1111111111111";
        System.out.println(s1+"\n"+s2);


        int[] arr1 = {1,2,3,4,3};
        int[] arr2 = arr1;
        System.out.println(arr1[1]);
        System.out.println(arr2[1]);
        System.out.println(Arrays.toString(arr1));

        arr2[1] = 1111;
        System.out.println(arr1[1]);
        System.out.println(arr2[1]);



    }
}
